package com.deram.ctin.serv.enter.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;

@ApiModel(description = "企业变更参数")
public class EnterChangeLog implements Serializable {

    @ApiModelProperty(value = "ID")
    private Long id;
    @ApiModelProperty(value = "变更日期")
    private Date changeDate;
    @ApiModelProperty(value = "变更事项")
    private String changeItem;
    @ApiModelProperty(value = "变更前")
    private String beforeInfo;
    @ApiModelProperty(value = "变更后")
    private String afterInfo;
    @ApiModelProperty(value = "企业ID")
    private Long enterId;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Date getChangeDate() {
        return changeDate;
    }

    public void setChangeDate(Date changeDate) {
        this.changeDate = changeDate;
    }

    public String getChangeItem() {
        return changeItem;
    }

    public void setChangeItem(String changeItem) {
        this.changeItem = changeItem == null ? null : changeItem.trim();
    }

    public String getBeforeInfo() {
        return beforeInfo;
    }

    public void setBeforeInfo(String beforeInfo) {
        this.beforeInfo = beforeInfo == null ? null : beforeInfo.trim();
    }

    public String getAfterInfo() {
        return afterInfo;
    }

    public void setAfterInfo(String afterInfo) {
        this.afterInfo = afterInfo == null ? null : afterInfo.trim();
    }

    public Long getEnterId() {
        return enterId;
    }

    public void setEnterId(Long enterId) {
        this.enterId = enterId;
    }

    @Override
    public String toString() {
        return "EnterChangeLog{" +
                "id=" + id +
                ", changeDate=" + changeDate +
                ", changeItem='" + changeItem + '\'' +
                ", beforeInfo='" + beforeInfo + '\'' +
                ", afterInfo='" + afterInfo + '\'' +
                ", enterId=" + enterId +
                '}';
    }
}